package com.ywqf_api.service;

import com.ywqf_api.dto.in.MaintenanceDto;
import com.ywqf_api.entity.Maintenance;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/4/3 0003.
 */
public interface MaintenanceService {

    Map findMaintenance(Integer houseId,Integer customerId);

    String file(MultipartFile file);

    int saveMaintenance(MaintenanceDto maintenanceDto);

    int saveUrlAndMaintenance(MaintenanceDto maintenanceDto);

    List<Maintenance> findMainDetail(Integer houseId);

    Map findMainIdDetail(Integer maintenanceId);
}
